package com.example.village.dao;

import com.example.village.entity.SubscribeMsgEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface SubscribeMsgDao {

    List<SubscribeMsgEntity> query(SubscribeMsgEntity subscribeMsgEntity);

    int insert(SubscribeMsgEntity subscribeMsgEntity);

    int delete(@Param("uId") Integer uId);
}
